<?php if(!empty($errors)): ?>
	<div class="alert alert-block ">
		<button type="button" class="close" data-dismiss="alert">×</button>
		<h4 class="alert-heading">Chú ý!</h4>
		<?php foreach($errors as $error): ?>
			<p><?php echo $error;?>.</p>
		<?php endforeach; ?>
		<?php echo $this->Html->link('Về trang chủ', '/'); ?> | <?php echo $this->Html->link('Về trang game', '/'); ?>
	</div>
<?php endif; ?>
<?php if(!empty($validate_errors)) : ?>
		<p style="width: 100%; padding: 10px 0px; border: 1px solid red; margin-top: 10px; text-align: center">
			<?php 
				foreach($validate_errors as $error) {
					echo $error[0] . '<br>';
				}
			?>
		</p>
<?php endif; ?>